package com.cls.system.service;

import com.cls.system.entity.ConfigureQualification;

import com.cls.common.entity.QueryRequest;
import com.github.pagehelper.PageInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 申报/主持人配置表 Service接口
 *
 * @author slx
 * @date 2020-11-17 11:51:28
 */
public interface IConfigureQualificationService extends IService<ConfigureQualification> {
    /**
     * 查询（分页）
     *
     * @param request QueryRequest
     * @param configureQualification configureQualification
     * @return PageInfo<ConfigureQualification>
     */
    PageInfo<ConfigureQualification> findConfigureQualifications(QueryRequest request, ConfigureQualification configureQualification);

    /**
     * 查询（所有）
     *
     * @param configureQualification configureQualification
     * @return List<ConfigureQualification>
     */
    List<ConfigureQualification> findConfigureQualifications(ConfigureQualification configureQualification);

    /**
     * 新增
     *
     * @param configureQualification configureQualification
     */
    void createConfigureQualification(ConfigureQualification configureQualification);

    /**
     * 修改
     *
     * @param configureQualification configureQualification
     */
    void updateConfigureQualification(ConfigureQualification configureQualification);

    /**
     * 删除
     *
     * @param ids ids
     */
    void deleteConfigureQualifications(String[] ids);

    ConfigureQualification findByConfigureIdAndLevelType(Long configureId, String levelType);
}
